﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.UI.Event
{
    public class ScrollToAreaEvent
    {
        public string FrameName;
        public Metadata.Solution Solution;
        public Metadata.Scene Scene;
        public Metadata.Area Area;
        /// <summary>
        /// 滚动到场景的某一个区域
        /// </summary>
        /// <param name="frameName">处理滚动的frame</param>
        /// <param name="scene">滚动的方案</param>
        /// <param name="scene">滚动的场景</param>
        /// <param name="area">滚动到的目标区域</param>
        public ScrollToAreaEvent(string frameName, Metadata.Solution solution, Metadata.Scene scene, Metadata.Area area)
        {
            this.FrameName = frameName;
            this.Solution = solution;
            this.Scene = scene;
            this.Area = area;
        }
    }
}
